Skip to content

Conversation

Riateche
Copy link
Contributor

@Riateche Riateche commented Oct 8, 2025

Summary

  • Detect update kind (price update or funding rate update)
  • Send correct update kind in the transaction

Rationale

Assuming all updates are funding rate updates is incorrect. This was causing issues with https://github.com/pyth-network/pyth-lazer/pull/865.

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

Not tested.

Copy link

vercel bot commented Oct 8, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
api-reference Ready Ready Preview Comment Oct 8, 2025 10:56am
component-library Ready Ready Preview Comment Oct 8, 2025 10:56am
developer-hub Ready Ready Preview Comment Oct 8, 2025 10:56am
entropy-explorer Ready Ready Preview Comment Oct 8, 2025 10:56am
insights Ready Ready Preview Comment Oct 8, 2025 10:56am
proposals Ready Ready Preview Comment Oct 8, 2025 10:56am
staking Ready Ready Preview Comment Oct 8, 2025 10:56am

@Riateche Riateche merged commit 2887d6d into main Oct 8, 2025
10 checks passed
@Riateche Riateche deleted the lazer-agent-fix-update-kind branch October 8, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants